/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fri.businessLayer;

import fri.entiry.FrUser;
import fri.entiry.FrUserinrole;
import javax.ejb.Stateless;

/**
 *
 * @author NguyenDongUIT
 */
@Stateless
public class UserInRoleBean extends GenericDAO<FrUserinrole>  implements UserInRoleBeanRemote {

    /**
     *
     * @param userinrole
     * @return
     */
    @Override
    public int addUserInRole(FrUserinrole userinrole) {
        return this.save(userinrole);
        
    }
    
    

    

    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")

    public UserInRoleBean() {
        super(FrUserinrole.class);
        
    }

    
    

}
